    
        col = notebook.GetThemeBackgroundColour()
        
        if col.IsOk():        
            page.SetBackgroundColour(col)
        
